Add Adwaita to the list of default icon themes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Apr 2014 14:14:38 +0000 (10:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Apr 2014 14:14:38 +0000 (10:14 -0400)
Hardcode the fallback to Adwaita. I'm leaving gnome in here for
now, since we're in the middle of the transition. It will be
removed before 3.14.

gtk/gtkicontheme.c

index a5aa468509f60a8b4e4c6ddd11204a97a2491254..2d40287d7ea6a965d4ba8ab0fabe88fe5138dcb3 100644 (file)
@@ -1256,6 +1256,7 @@ load_themes (GtkIconTheme *icon_theme)
    * in gnome is a pragmatic solution to prevent missing
    * icons in GTK+ applications when run under, e.g. KDE.
    */
+  insert_theme (icon_theme, "Adwaita");
   insert_theme (icon_theme, "gnome");
   insert_theme (icon_theme, DEFAULT_THEME_NAME);
   priv->themes = g_list_reverse (priv->themes);